package com.zrwl.poscloud.xo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zrwl.poscloud.base.entity.EmployeeAccount;
import com.zrwl.poscloud.commons.vo.BaseVO;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

/**
 * 持卡人员 VO类
 *
 * @author 刘思童 AutoGenerate
 * @date 2021-02-09
 */
@Data
public class EmployeeVO extends BaseVO<EmployeeVO> {
    private static final long serialVersionUID = 1L;
    private String name;
    private String employeeCode;
    private String companyCode;
    private String certCode; 
    private int type;
    private int payLevel;
    private int sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date enterDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date leaveDate;
    private List<CompanyAdminRVO> myCompanyList;
    private String companyUid;
    private String deptName;
    private String employeeName;
    private String labelDataUid;
    private String[] labelDataUidList;
    boolean importError;
    private int isFacePayment;
    private List<EmployeeVO> employeeVOList;
    private double dailyLimit;
    private double monthlyLimit;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Timestamp validDate;
    private String adminUid;
    private String mobile;
    private String remark;
    private String sourceUid;
    private int sourceType;
    private String defaultPwd;
    private int syncCode;//此参数是否与同步云雨服务器混用？？？
    private String presentFlowCode;
    private String createAdminUid;
    private String createAdminName;
    private String adminStatus;
    private String companyName;
    private String adminName;
    private String employeeUid;
    private String adminMobile;
    private String gateCode;
    private String deptUid;
    private String fileCode;
    private String companyFullName;
    private String[] deptRoleTree;
    private String nameEndWith;
    private String newDeptUid;
    private String oldDeptUid;
    private String reason;
    private String content;
    private String summary;//简历概述
    private String files;
    private int isVip;
    private int giftCount;
    private List<EmployeeAccount> employeeAccountS;
    private int hasEmployeeRecord;
    private int changeRecord;
    private int vitaType;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date vitaBeginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date vitaEndTime;
    private int deptIdentical;
    private int endWithIdentical;
    private String gradeUid;
    private int subjectType;
    private int leaveInform;
    private int leaveCheck;
    private int taskPublish;
    private String userUid;
    private String userMobile;
}
